COMMAND64
Set the current color palette
AA 40 <FC> <BC> CC 33 C3 3C
<FC>: foreground color palette, 2 bytes(16 bit, 65k color), default reset value is 0xFFFF(white)
<BC>: background color palette, 2 bytes(16 bit, 65k color), default reset value is 0x001F(blue)
COMMAND65
Set character spacing
AA 41 <D_X> <D_Y> CC 33 C3 3C
<D_X>:  Character spacing in X direction (column spacing), ranging from 0x00 to 0x7F. Default reset value is 0x00.
<D_Y>:  Character spacing in Y direction (line spacing), ranging from 0x00 to 0x7F. Default reset value is 0x00.
COMMAND66
AA 42 <X> <Y> CC 33 C3 3C
Pick specified position's color to backcolor.
<X> <Y>: specified position's coordinate.(in DISPLAY MODULE, coordinate is represented with 2 bytes)
COMMAND67
AA 43 <X> <Y> CC 33 C3 3C
Pick specified position's color to forecolor.
<X> <Y>: specified position's coordinate.(in DISPLAY MODULE, coordinate is represented with 2 bytes)
COMMAND68
Cursor display
AA 44 <Cursor_EN> <X> <Y> <Width> <Height> CC 33 C3 3C
<Cursor _EN>  
	0x01   Turn on cursor display on and the cursor will display at (x ,y)
	0x00   Turn off cursor display
<X>, <Y> is the coordinate of the top left corner of the cursor
<Width>  the width of cursor, ranging from 0x01 to 0x1F
<Height>  the height of cursor, ranging from 0x01 to 0x1F
COMMAND84
Display 8*16 dots ASCII
AA 54 <X> <Y> <String> CC 33 C3 3C
<X> <Y> Coordicate of the left top corner of the first character 
<String> string to be shown. string to be shown. Colors are set by command 0x40; Character interval is set by command 0x41; and auto-wrap to next line at 		 the end of line. Command 0x0D and 0x0A represent "back to line start" and "wrap to next line"
COMMAND110
Display 6*12 dots ASCII
AA 6E <X> <Y> <String> CC 33 C3 3C
<X> <Y> Coordicate of the left top corner of the first character 
<String> string to be shown. string to be shown. Colors are set by command 0x40; Character interval is set by command 0x41; and auto-wrap to next line at 		 the end of line. Command 0x0D and 0x0A represent "back to line start" and "wrap to next line"
COMMAND111
Display 12*24 dots ASCII
AA 6F <X> <Y> <String> CC 33 C3 3C
<X> <Y> Coordicate of the left top corner of the first character 
<String> string to be shown. string to be shown. Colors are set by command 0x40; Character interval is set by command 0x41; and auto-wrap to next line at 		 the end of line. Command 0x0D and 0x0A represent "back to line start" and "wrap to next line"
COMMAND85
Display 16*32 dots ASCII
AA 55 <X> <Y> <String> CC 33 C3 3C
<X> <Y> Coordicate of the left top corner of the first character 
<String> string to be shown. string to be shown. Colors are set by command 0x40; Character interval is set by command 0x41; and auto-wrap to next line at 		 the end of line. Command 0x0D and 0x0A represent "back to line start" and "wrap to next line"
COMMAND152
Character Library Display
AA 98 <X> <Y> <Lib_ID> <C_Mode> <C_dots> <Fcolor> <Bcolor> <String> CC 33 C3 3C
<X> <Y> Coordicate of the left top corner of the first character 
<Lib_ID> Character Library ID, ranging from:
	0x00-0x0F	user-defined library
	0x20-0x26
		0x206*12 dots;
		0x218*16 dots;
		0x2212*24 dots;
		0x2316*32 dots;
		0x2424*48 dots;
		0x2532*64 dots;
		0x2648*96 dots;
		0x2764*128 dots.
<C_Mode>
	.7=1 foreground color display
	  =0 oreground color not display
	.6=1 backcolor display
	  =0 backcolor not display
	.5=1 longitudinal display
	  =0 transverse display
	.4-.0	0X05  UNICODE
	192(0xC0)display forecolor and backcolor;128(0x80)display forecolor and not display backcolor64(0x40)not display forecolor and display backcolor
<C_dots> character size setting
<Fcolor> <Bcolor> forecolor and backcolor
<String> string data, display spacing is set by command 0x41 and automatically wrap at the end of a line. 
COMMAND69
Set Txt limit
AA 45 <Xs> <Ys> <Xe> <Ye> CC 33 C3 3C
<Xs> <Ys> <Xe> <Ye> Txt position.
withdraw txt limit
AA 45 00 CC 33 C3 3C
COMMAND80
Set point with backcolor
AA 50 <(x0,y0) (x1,y1) (xi, yi)> CC 33 C3 3C
<(x0,y0) (x1,y1) (xi,yi)> coordinates to be set.
COMMAND81
Set point with forecolor
AA 51 <(x0,y0) (x1,y1) (xi, yi)> CC 33 C3 3C
<(x0,y0) (x1,y1) (xi,yi)> coordinates to be set.
COMMAND116
Dynamic Curve Display
AA 74 <X> <Ys> <Ye> <Bcolor> <(Y0,Fcolor0), (Y1,Fcolor1)(Yi, Fcolori)> CC 33 C3 3C
This command is mainly used for implementation of multi-dynamic curves on single screen. Terminals process commands by following steps:
Step 1: Erase the vertical line from (X,Ys) to (X ,Ye), using specified color<Bcolor>. Empty the original content.
Step 2Set point at (X,Yi), using specified color<Fcolori>.
COMMAND86
Connecting specified points with forecolor
AA 56 <(x0,y0) (x1,y1) (xi, yi)> CC 33 C3 3C
<(x0,y0) (x1,y1) (xi,yi)> coordinates of specified points.
COMMAND93
Connecting specified points with backcolor
AA 5D <(x0,y0) (x1,y1) (xi, yi)> CC 33 C3 3C
<(x0,y0) (x1,y1) (xi,yi)> coordinates of specified points.
COMMAND117
Spectrum Display
AA 75 <(xy)><H_max><H0Hi> CC 33 C3 3C
<(x,y)> x is start coordinate on spectrum's X-axis. x=x+1 after displaying another spectrum line; y is horizontal position on spectrum. Starting and end 		coordinates of every spectrum line's are y and (y-Hi) respectively.
<H _max> Maxim height of a spectrum line.
	if H_max=0x01-0xFF, spectrum line's height Hi is a variable of 1 byte.
	if H_max=0x00, the following 2 bytes represent Hmax and Hi is a variable of 2 bytes.
<H0Hi> height of one spectrum line, one or two bytes.
Spectrum line's color is set by Palette Command 0x40 .When display, spectrum line, height Hi, will display by foreground color, other spectrum lines, height H_max-Hi, will display(be eresed) by background color. 
COMMAND118
Broken Line Display
AA 76 <x><x_dis><Y0Yi> CC 33 C3 3C
<x>the start coordinate on broken line's X-axis. x=x+x_dis after connecting a point by line.
<x_dis> the increment of coordinate on X-axis.
<Y0Yi> the top points' coordinates of broken lines, using foreground color to display. 
This command's function is similar to command 0x56 except that coordinate X here is auto-calculated by HMI for fast connecting. 
COMMAND120
Offset line
AA 78 <x,y>,<dx0,dy0><dx1,dy1>, ,<dxn,dyn> CC 33 C3 3C
<x,y> Start Point 
<dxn,dyn> Offset value from start point.
COMMAND87
Arc and Circular domain display
AA 57 (<Type_0> <X_0> <Y_0> <R_0>) (<Type_i> <X_i> <Y_i> <R_i>) CC 33 C3 3C
<Type_i> type
	0x00 display specified arc, using invert color ;
	0x01 display specified arc, using foreground color (set by command 0x40);
	0x02 display specified circular domain, using invert color;
	0x03 fill specified circular domain, using foreground color (set by command 0x40).
<X_i> <Y_i> coordinates of the center of arc or circular domain
<R_i> radius of the arc or circular domain, ranging from 0x01 to 0xFF
COMMAND22276
Arc segment display
AA 57 04 <X> <Y> <R> <A_S> <A_E> CC 33 C3 3C
<X> <Y> coordinates of the center of arc
<R>   radius of the arc,0x0001-0x03FF
<A_S> start angle of arc,0x00-0x02D0(0-720),units  0.5
<A_E> end angle of arc0x00-0x02D0(0-720),units 0.5
COMMAND89
display rectangle box, using foreground color (set by command 0x40), with one dot matrix line width
AA 59 (<Xs_0> <Ys_0> <Xe_0><Ye_0>) (<Xs_i> <Ys_i> <Xe_i><Ye_i>) CC 33 C3 3C
<Xs_i> <Ys_i> <Xe_i> <Ye_i> (Xs_i,Ys_i) top left coordinate of rectangle box or domain;
(Xe_i,Ye_i) is bottom right coordinate.
COMMAND105
display rectangle box, using background color (set by command 0x40), with one dot matrix line width
AA 69 (<Xs_0> <Ys_0> <Xe_0><Ye_0>) (<Xs_i> <Ys_i> <Xe_i><Ye_i>) CC 33 C3 3C
<Xs_i> <Ys_i> <Xe_i> <Ye_i> (Xs_i,Ys_i) top left coordinate of rectangle box or domain;
(Xe_i,Ye_i) is bottom right coordinate.
COMMAND90
fill rectangle domain, using background color (set by command 0x40)
AA 5A (<Xs_0> <Ys_0> <Xe_0><Ye_0>) (<Xs_i> <Ys_i> <Xe_i><Ye_i>) CC 33 C3 3C
<Xs_i> <Ys_i> <Xe_i> <Ye_i> (Xs_i,Ys_i) top left coordinate of rectangle box or domain;
(Xe_i,Ye_i) is bottom right coordinate.
COMMAND91
fill rectangle domain, using foreground color (set by command 0x40)
AA 5B (<Xs_0> <Ys_0> <Xe_0><Ye_0>) (<Xs_i> <Ys_i> <Xe_i><Ye_i>) CC 33 C3 3C
<Xs_i> <Ys_i> <Xe_i> <Ye_i> (Xs_i,Ys_i) top left coordinate of rectangle box or domain;
(Xe_i,Ye_i) is bottom right coordinate.
COMMAND92
display specified rectangle domain, using invert color (set by command XOR 0xFF). Reverted when using invert color again.
AA 5C (<Xs_0> <Ys_0> <Xe_0><Ye_0>) (<Xs_i> <Ys_i> <Xe_i><Ye_i>) CC 33 C3 3C
<Xs_i> <Ys_i> <Xe_i> <Ye_i> (Xs_i,Ys_i) top left coordinate of rectangle box or domain;
(Xe_i,Ye_i) is bottom right coordinate.
COMMAND100
Area Fill
AA 64 <(X,Y)> <Color> CC 33 C3 3C
<(X,Y)>  the position of the seed point to area fill
<Color> color to use
COMMAND96
selected area for left-circular shift
AA 60 (<Xs_0> <Ys_0> <Xe_0><Ye_0> <N_0>) (<Xs_i> <Ys_i> <Xe_i><Ye_i> <N_i>) CC 33 C3 3C
<Xs_i> <Ys_i> <Xe_i><Ye_i> top left and bottom right coordinates of selected area.
<N_i> numbers of dot matrix in area movement, ranging from 0x01 to 0x0F.
COMMAND97
selected area for right-circular shift,
AA 61 (<Xs_0> <Ys_0> <Xe_0><Ye_0> <N_0>) (<Xs_i> <Ys_i> <Xe_i><Ye_i> <N_i>) CC 33 C3 3C
<Xs_i> <Ys_i> <Xe_i><Ye_i>  top left and bottom right coordinates of selected area.
<N_i> numbers of dot matrix in area movement, ranging from 0x01 to 0x0F.
COMMAND98
move selected area left
AA 62 (<Xs_0> <Ys_0> <Xe_0><Ye_0> <N_0>) (<Xs_i> <Ys_i> <Xe_i><Ye_i> <N_i>) CC 33 C3 3C
<Xs_i> <Ys_i> <Xe_i><Ye_i>  top left and bottom right coordinates of selected area.
<N_i> numbers of dot matrix in area movement, ranging from 0x01 to 0x0F.
COMMAND99
move selected area right.
AA 63 (<Xs_0> <Ys_0> <Xe_0><Ye_0> <N_0>) (<Xs_i> <Ys_i> <Xe_i><Ye_i> <N_i>) CC 33 C3 3C
<Xs_i> <Ys_i> <Xe_i><Ye_i> top left and bottom right coordinates of selected area.
<N_i> numbers of dot matrix in area movement, ranging from 0x01 to 0x0F.
COMMAND112
Image Display
AA 70 <Pic_ID> CC 33 C3 3C
<Pic_ID> index ID of the image saved in HMI Flash Memory
COMMAND123
Display one image and figure up
AA 7B <Pic_ID> CC 33 C3 3C
<Pic_ID> index ID of the image saved in HMI Flash Memory
Rx
AA 7B <CheckSum_H:L> CC 33 C3 3C
<CheckSum_H:L> 2 Byte sum of the content of the present image
COMMAND113
Cut Icon
AA 71 <Pic_ID> <Xs> <Ys> <Xe> <Ye> <X> <Y> CC 33 C3 3C
<Pic_ID> index ID of the image saved in HMI Flash Memory
<Xs> <Ys> <Xe> <Ye> 
	(Xs, Ys)the top left coordinate of cutting area in original icon;
	(Xe, Ye)the bottom right coordinate of cutting area.
<X> <Y>  (X, Y)  the top left coordinate of cut icon in current screen 	
COMMAND156
Display cut icon transparently and refresh background firstly. 
AA 9C <Pic_ID> <Xs> <Ys> <Xe> <Ye> <X> <Y> CC 33 C3 3C
<Pic_ID> index ID of the image saved in HMI Flash Memory
<Xs> <Ys> <Xe> <Ye> 
	(Xs, Ys)the top left coordinate of cutting area in original icon;
	(Xe, Ye)the bottom right coordinate of cutting area.
<X> <Y>  (X, Y)  the top left coordinate of cut icon in current screen 	
COMMAND157
Display cut icon transparently and do not refresh background. 
AA 9D <Pic_ID> <Xs> <Ys> <Xe> <Ye> <X> <Y> CC 33 C3 3C
<Pic_ID> index ID of the image saved in HMI Flash Memory
<Xs> <Ys> <Xe> <Ye> 
	(Xs, Ys)the top left coordinate of cutting area in original icon;
	(Xe, Ye)the bottom right coordinate of cutting area.
<X> <Y>  (X, Y)  the top left coordinate of cut icon in current screen 	
COMMAND226
Save current screen image in HMI
AA E2 <Pic_ID> CC 33 C3 3C
<Pic_ID> image index ID to be saved
Rx
AA E2 4F 4B CC 33 C3 3C
COMMAND153
User-defined Icon Display
AA 99 <X0,Y0,Icon_ID0><Xn,Yn,Icon_IDn> CC 33 C3 3C
<Xn,Yn>  position of the user-difined icon
<Icon_IDn> index ID of user icon, 2 bytes
COMMAND94
Turn off backlight
AA 5E CC 33 C3 3C
COMMAND95
turn the backlight to maxim brightness
AA 5F CC 33 C3 3C
COMMAND24321
adjust backlight brightness
AA 5F <PWM_T> CC 33 C3 3C
<PWM_T> backlight brightness value controlled by PWM, ranging from 0x00 to 0x64;
COMMAND121
Buzzer Control
AA 79 <On_Time> CC 33 C3 3C
<On_Time> 0x01-0xFF,time to buzzer beepers, unit 10ms
The duration of buzzers ringing.
COMMAND144
write in sequential data memory
AA 90 <Address><Data0Datai> CC 33 C3 3C
<Address> the starting address to write in data memory, 4 bytes, ranging from 0x00000000 to 0x01DDFFFF.
<Data0Datai>data series to be written.
Rx
AA 90 4F 4B CC 33 C3 3C
COMMAND145
read  data memory
AA 91 <Address> <Length> CC 33 C3 3C
<Address>the starting address to write in data memory, 4 bytes, ranging from 0x00000000 to 0x01DDFFFF.
<Length>the length of data memory to read, 2 bytes. Most read 64KB once.
Rx:
AA 91 <Address> <Length> <Data0Datai> CC 33 C3 3C
COMMAND154
Enable the function of executing command periodically and circularly
Tx: AA 9A Pack_ID CC 33 C3 3C
<Pack_ID> he ID of automatic and circular command group. Each group is 8KB,and contain  maximum 64 command .The space between two command is 128 byte.
COMMAND39679
Close the function of executing command periodically and circularly.
Tx: AA 9A FF CC 33 C3 3C
COMMAND192
write temporary buffer
Tx: AA C0 <Address> <data0datan> CC 33 C3 3C
<Address> the starting address, word address, in temporary buffer--RAM; totally 40k word, ranging from 0x0000 to 0x9FFF.
<data0datan> data to be written.
COMMAND194
Read temporary buffer
Tx: AA C2 <Address> <Length> CC 33 C3 3C
Rx: AA C2 <Data_Pack> CC 33 C3 3C
	<Address> the starting address, word address, in temporary buffer--RAM; totally 40k word, ranging from 0x0000 to 0x9FFF.
	<Length> length of the data to read
	<Data_Pack>  data read
COMMAND49409
pixel setting in temporary buffer
Tx: AA C1 01 <Address> <Pixel_Number> CC 33 C3 3C
	<Address>  the starting address, word address, in temporary buffer--RAM; totally 40k word, ranging from 0x0000 to 0x9FFF.
	<Pixel_Number> numbers of pixels with maximum 13653. Every pixel takes up 3 word unit.
pixel data format defined in temporary buffer: (X,Y,Color).
COMMAND49410
connecting lines using data in temporary buffer
Tx: AA C1 02 <Address> <Line_Number> CC 33 C3 3C
	<Address> the starting address, word address, in temporary buffer--RAM; totally 40k word, ranging from 0x0000 to 0x9FFF.
	<Line_Number> the number of lines with maximum 8191. Every line takes up 5 word unit.
line data format defined in temporary buffer: XsYsXeYeColor).
COMMAND49411
display broken line graph using data in temporary buffer
Tx: AA C1 03 <Address> <x> <y> <Line_Number> <D_x> <Dis_x> <K_y> <Color> CC 33 C3 3C
	<Address> the starting address, word address, in temporary buffer(RAM); totally 40k word, ranging from 0x0000 to 0x9FFF.
	<x> the starting coordinate in X-axis;
	<y> the zero position(the lowest point) in Y-axis; actual position equals to y-Ly;
	<Line_Number> the number of lines with maximum 40960, ranging from 0x000 to 0x9FFF. Every line takes up 1 word unit.
	<D_X> pixels' distance in read buffer, ranging from 0x01 to 0xFF, i.e. Address=Address+D_x
	<Dis_X>  the increment in X-axis, ranging from 0x01 to 0x0F, i.e. x=x+Dis_x
	<K_y> amplification factor of Y-axis, ranging from 0x00 to 0xFF; 1/16 is the unit, i.e. K_y=32 means amplify Y-axis twice.
	<Color>  the color of lines without any variation in system palette.
the line data format in temporary buffer is defined as Ly, 2 bytes, which is the height of pixel.
COMMAND49412
Fast display broken line graph using data in temporary buffer
Tx: AA C1 04 <Adr1> <x> <y> <Line_Number> <D_x> <Dis_x> <Color1> <Addr0> <Color0> CC 33 C3 3C
Rx: 
	<x> the starting coordinate in X-asix;
	<y> the zero position(the lowest point) in Y-axis; actual pixel position equals to y-Ly.;
	<Line_Number> number of lines with maximum 40960. Every line takes up 1 word unit.;
	<D_x> fixed write 0x01;
	<Dis_X> the increment in X-axis, ranging from 0x01 to 0x0F;i.e.x=x+Dis_x after connecting.;
	<Addr0> <Addr1> ݴ滺(RAM)׵ַ(ֵַ)һ 40KWord0x0000-0x9FFF;
<Addr0> the starting address of the history curve to erase;
<Addr1>  the starting address of the curve to display;
<Color0> set the color as the windows background color
<Color1> set the color as the color of the curve to display
The line data format in temporary buffer is defined as Ly, 2 bytes, which is the height of pixel.
COMMAND49413
Scaling broken line graph in scale using data in temporary buffer
Tx: AA C1 05 <Address> <x> <y> <Line_Number> <D_x> <Dis_x> <M_y> <D_y> <Color> CC 33 C3 3C
<Address>: the starting address, word address, in temporary buffer(RAM); totally 40k word, ranging from 0x0000 to 0x9FFF.
<x>: the starting coordinate in X-axis.
<y>: the zero position(the lowest point) in Y-axis; actual pixel position equals to y-Ly.
<Line_Number>: number of lines with maximum 40960, ranging from 0x0000 to 0x9FFF. Every line takes up 1 word unit.
<D_x>: pixels' distance in read buffer, ranging from 0x01 to 0xFF;i.e.Address=Address+D_x after connecting.
<Dis_x>: the increment in X-axis, ranging from 0x01 to 0x0F;i.e.x=x+Dis_x after connecting.
<M_y>  <D_y>: amplification factor of Y-axis, ranging from 0x00 to 0xFF; and height equals to YM_y/D_y,e.g. M_y=4, D_y=2 means amplify Y-axis twice.
<Color>: color of lines without any variation in system palette.
The line data format in temporary buffer is defined as Ly, 2 bytes, which is the height of pixel.
COMMAND49414
Display window limit two-way broken line graph in scale using data in temporary buffer 
Tx: AA C1 06 <Address> <x> <y> <Line_Number> <D_x> <Dis_x> <M_y> <D_y> <Color> <Ymin> <Ymax> CC
33 C3 3C
<Color> <Ymin>  <Ymax>  CC  33  C3  3C
Rx: None
<Address> the starting address, word address, in temporary buffer (RAM); totally 40k word, ranging from 0x0000 to 0x9FFF.
<x> x coordinates of the starting position 
<y> y coordinates of 0 point position, actual connection  point=y+Ly or y-Ly;
<Line _Number>  number of connection line ,0x0000-0x9FFF,each line is one word ,maximum 40960 line;
<D _x>  read the space between the point in the temporary buffer,0x01xFF, i.e connect one line ,Address=Address + D _x;
<Dis _x>  increase of  X  coordinate, 0x01-0x0F,i.e connect one line ,x=x+Dis_x;
<M _y>  <D _y> y coordinate amplification factor, 0x00-0xFF,dislay height=y*M_y/D_y, e.g. M_y=4,D_y=2, the y coordinate amplification factor is 2;
<Color>  the color of the line display, do not alter the palettes settings.
<Ymin>  minimum of Y coordinate (windows minimum)
<Ymax>  maximum of Y coordinate(windows maximum)
The line data format in temporary buffer is defined as Ly, 2 bytes .Instruction as follow:
Ly.15  i.e direction of connection, 0=positive ,1=negative; e.g.  Ly=0x8010 i.e negative height 16;
Ly.14-Ly.0  i.e height of connection.
COMMAND228
Touch panel calibration mode
Tx: AA E4 55 AA 5A A5 CC 33 C3 3C
After sending commands, click three white spots showing at different positions of the screen in turn
HMI will upload following commands when calibration finished
Rx: AA E4 4F 4B CC 33 C3 3C 
COMMAND193
Display integer variable
AA C1 <X,Y><Mode><F_Color><B_Color><Parameter> CC 33 C3 3C
<X,Y> Top left of the variable to display
<Mode> Txt mode;
<F_Color><B_Color>forecolor and backcolor
<Parameter> variable data
	e.g.:
	int value = 123456;   
	unsinged long *p; 
	p = (unsigned long *)&value; 
	SBUF = (*p) >> 24;//1 byte
	/*....*/  //
	SBUF = (*p) >> 16;//2 byte
	/*....*/  // 
	SBUF = (*p) >> 8;//3 byte
	/*....*/  // 
	SBUF = *p;// 4 byte
	/*....*/  //
COMMAND224
Working Mode Configuration
AA E0 <BODE_SET><PARA1><PARA2>CC 33 C3 3C
<BODE_SET> baudrate
	0-1200
	1-2400
	2-4800
	3-9600
	4-19200
	5-38400
	6-57600
	7-115200
	8=921600
<PARA1>	Set touch panel and keyboard work mode,
<PARA2> Keyboard and IO.
COMMAND39680
Close clock display
AA 9B 00 CC 33 C3 3C
COMMAND229
 key code setting
TxAA E5 55 AA 5A A5 <K_Code0K_Code63> CC 33 C3 3C
<K_Code0K_Code63> key codes to be set. The number is fixed at 64. Only 16 key codes are valid for 4x4 keyboard interface.
COMMAND52
Set IO direction
Tx[AA][34]DIR [15:8], DIR [7:0][CC 33 C3 3C]
DIR [15:8], DIR [7:0] IO direction
        0:input
	1:output
COMMAND53
Write IO
Tx[AA][35]GPIO [15:8], GPIO [7:0][CC 33 C3 3C]
COMMAND54
Read IO
Tx[AA][36] [CC 33 C3 3C]
Rx[AA][36]GPIO [15:8], GPIO [7:0][CC 33 C3 3C]
COMMAND39935
open clock display
AA 9B FF <RTC_Mode><Text_Mode><Color><X><Y> CC 33 C3 3C
<RTC_Mode>clock display mode setting
	0x00: HH:MM:SS
	0x01: 20YY-MM-DD HH:MM:SS
<Text_Mode>clock display character setting
	0x00:6*12
	0x01:8*16
	0x02:12*24
	0x03:16*32
	0x04:24*48
	0x05:32*64
<Color> character's color
<X><Y>clock's position
COMMAND31745
variables and password input
Tx: AA 7C 01 <X> <Y> <Str_MaxNum ><Str_Scal ><Para > CC 33 C3 3C
Rx: AA 7C 01 <Str_MaxNum ><String > CC 33 C3 3C
< X >< Y >: 2 bit parameter, the top left coordinate of Virtual Keyboard
< Str_MaxNum >: 1 bit parameter, Define the max length of String, the max length is 15 numbers
< Str_Scal >: 1 bit parameter.
	Str_Scal [7]	0: Display the number normally   1: Display * to replace the input of number (Password Input)
	Str_Scal [6]	0: Dont clear the screen when exit 1: Clear the screen
	Str_Scal [5:4]	0
	Str_Scal [3:0]	The Input of number size
			00: 6*12 Dot Matrix    01: 8*16 Dot Matrix    10: 12*24 Dot Matrix    11: 16*32 Dot Matrix   
<Str_MaxNum >: 1 bit parameter, Return the length of String that user practically input, 0x00 mean the void input 
<String >: Return the ASCII code of the numbers that user practically input.
COMMAND31746
Chinese, English, Number Input
Tx: AA 7C 02<X> <Y> <Str_MaxNum ><Str_Scal ><Para > CC 33 C3 3C
Rx: AA 7C 02 <Str_MaxNum ><String > CC 33 C3 3C
< X >< Y >: 2 bit parameter, the top left coordinate of Virtual Keyboard
< Str_MaxNum >: 1 bit parameter, Define the max length of String, the max length is 28 Characters
< Str_Scal >: 1 bit parameter.
	Str_Scal [7]	0: Display the number normally   1: Display * to replace the input of number (Password Input)
	Str_Scal [6]	0: Dont clear the screen when exit 1: Clear the screen
	Str_Scal [5:4]	0
	Str_Scal [3:0]	The Input of number size
			00: 6*12 Dot Matrix    01: 8*16 Dot Matrix    10: 12*24 Dot Matrix    11: 16*32 Dot Matrix   
<Str_MaxNum >: 1 bit parameter, Return the length of String that user practically input, 0x00 mean the void input 
<String >: Return the ASCII code of the characters that user practically input.
COMMAND31747
Tx: AA 7C 03 <X> <Y> CC 33 C3 3C
Click Enter
Rx: AA 7C 03 < Calculated_Value > CC 33 C3 3C
Click ESC
Rx: AA 7C 00 00 00 00 CC 33 C3 3C
< X >< Y >: 2 bit parameter, the top left coordinate of Virtual Keyboard
< Calculated_Value >: Hex code.
COMMAND125
Menu & List
Tx: AA 7D < Lst_Num >< Para > CC 33 C3 3C
Rx: AA 7D < Lst_Num >< Index > CC 33 C3 3C
< Lst_Num >: 2 bit parameter, Define the sequence number of Menu or List
< Para >: 1 bit parameter.
	Para [7:2]	0
	Para [1]Add the division line as displaying Menu or List
		0: Add    1: Dont add
	Para [0]	Come back the background as exiting.
		0: Yes    1: No
< Index >: 1 bit parameter, Return the selected row number of current Menu or List, 0xFF mean that user touch the void area or exiting. 
COMMAND231
clock setting
Tx: AA E7 55 AA 5A A5 <YY:MM:DD:HH:MM:SS> CC 33 C3 3C
Rx: None
<YY:MM:DD:HH:MM:SS>: time format to be set as  year : month :day : hour : minute : second, represented by BCD code.
e.g.
AA E7 55 AA 5A A5 08 11 28 12 57 00 CC 33 C3 3C
to set current time to 12:57:00, Nov. 28th, 2008.
COMMANDFF